import { sendMail, SendMailConfig } from "./mailer";
import userConfig from "./user.config";

export default (sendMailConfig: SendMailConfig) =>
	sendMail(sendMailConfig, userConfig)
		.then()
		.catch(err => {
			console.log(err);
		});
